package com.yuanfeng.business.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 门店商品库存对应表
 * @TableName shop_gate_goods_base
 */
@TableName(value ="shop_gate_goods_base")
@Data
public class ShopGateGoodsBaseEntity implements Serializable {
    /**
     * id自增主键
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 店铺id
     */
    private Integer shopId;

    /**
     * 门店id
     */
    private Integer shopGateId;

    /**
     * 货品id
     */
    private Integer commonId;

    /**
     * 商品id
     */
    private Integer goodsId;

    /**
     * 门店商品库存
     */
    private Integer shopGateGoodsStock;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}